package com.jinbai.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;

@Data
public class Article {
    public Integer aid;
    @JsonIgnore
    public Integer uid;
    public String title;
    public String type;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date publishedAt;
    public String content;
}
